{# -*- coding: utf-8 -*- #}
{#
Copyright 2011 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
#}
{% extends "base.html" %}
{% block title %}{% trans %}状況を追加する{% endtrans %}{% endblock %}
{% block content %}
{% trans %}状況を追加する{% endtrans %}<br>
{% if error %}
<div style="color:#f00;">{{ error }}</div>
{% endif %}
{% trans last_name=form.last_name.data, first_name=form.last_name.data %}{{ last_name }} {{ first_name }}さんの最新情報を追加してください{% endtrans %}:
<form action="" method="post" charset="shift_jis">
{{ form.person_id }}
{{ form.first_name }}
{{ form.last_name }}
{{ form_field(form.text) }}<br>
{{ form_field(form.author_name) }}<br>
{{ form_field(form.belived_alive) }}<br>
{% if form.author_email.errors %}
<span style="color:#f00;">
{% endif %}
{% trans %}この方の最新情報を受け取るメールアドレス(必要な場合){% endtrans %}<br>
{% if form.author_email.errors %}
</span>
{% endif %}
{{ form.author_email }}<br>
<input type="submit" value="{% trans %}登録{% endtrans %}">
</form>
{% endblock %}
